package com.atguigu.servicebase.VO;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: book-shore
 * @description
 * @author: Pudding
 * @create: 2020-05-07 09:39
 **/
@Data
public class FrontVo {

    private String id;
    @ApiModelProperty(value = "书名")
    private String name;

    @ApiModelProperty(value = "标签")
    private String labelId;

    @ApiModelProperty(value = "作者编号")
    @TableField("authorId")
    private String authorId;

    @ApiModelProperty(value = "类别编号")
    @TableField("typeId")
    private Integer typeId;

    @ApiModelProperty(value = "字数")
    @TableField("wordNum")
    private Integer wordNum;

    @ApiModelProperty(value = "收藏数")
    @TableField("collectionNum")
    private Integer collectionNum;

    @ApiModelProperty(value = "图书状态（0-审核中，1-新建，2-签约作品）")
    private Integer state;

    @ApiModelProperty(value = "图书简介")
    private String profile;

    @ApiModelProperty(value = "点击数")
    @TableField("clickNum")
    private Integer clickNum;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "创建时间")
    @TableField("creationTime")
    private Date creationTime;

    @ApiModelProperty(value = "最新章节编号")
    @TableField("chapterId")
    private Integer chapterId;

    @ApiModelProperty(value = "推荐数")
    @TableField("recommendNum")
    private Integer recommendNum;

    @ApiModelProperty(value = "主编推荐")
    @TableField("isRecommend")
    private Boolean isRecommend;

    @ApiModelProperty(value = "下载链接")
    @TableField("bookUrl")
    private String bookUrl;

    @ApiModelProperty(value = "作者昵称")
    private String authorName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "头像")
    private String head;

    @ApiModelProperty(value = "个人简介")
    private String authorProfile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "1是作者，0是用户")
    private Integer author;
}
